package top.xin1901.j2ecd.dao;

import org.springframework.stereotype.Repository;
import top.xin1901.j2ecd.beans.Group;
import top.xin1901.j2ecd.beans.dbo.GroupDbO;

import java.util.List;

/**
 * @author HeYunjia
 */

@Repository
public interface GroupDao {
    int insert(GroupDbO group);
    int insertRoles(Long groupId, List<Long> roleIds);


    List<Group> selectAll();
    Group selectOne(Long groupId);

    GroupDbO selectGroupDbO(Long groupId);
}
